package service;

import entity.SpecialtyEntity;
import vo.GetSpecialtyAndMaxCodeVO;
import vo.GetSpecialtyVO;

import java.util.List;

public interface SpecialtyService {
    List<GetSpecialtyVO> getSpecialtyInfo(String name);

    int addSpecialtyInfo(SpecialtyEntity specialty);

    int updateSpecialtyInfo(SpecialtyEntity specialty);

    int deleteSpecialty(String specialtyId);

    int batchDeleteSpecialty(List<String> ids);

    SpecialtyEntity getSpecialtyInfoById(String id);

    List<GetSpecialtyAndMaxCodeVO> getSpecialtyByAcademyId(String academyId);
}
